set nocompatible               " be iMproved
filetype off                   " required!

set rtp+=~/.vim/bundle/vundle/
call vundle#rc()

function! s:Configuration(path)
    if filereadable(simplify(expand('~/.vim_runtime/vimrcs' . '/' . a:path, 1)))
        execute
                    \ ':source'
                    \ simplify(expand('~/.vim_runtime/vimrcs' . '/' . a:path, 1))
    endif
endfunction

" let Vundle manage Vundle
" required! 
Bundle 'gmarik/vundle'

call s:Configuration('haroogan.vim')

"
" ctrl-p
Bundle 'https://github.com/kien/ctrlp.vim.git'
call s:Configuration('ctrlprc.vim')



""""""""""""""""""""""""""""""
" => nerdtree
""""""""""""""""""""""""""""""
Bundle 'https://github.com/scrooloose/nerdtree.git'
call s:Configuration('nerdtreerc.vim')

""""""""""""""""""""""""""""""
" => airline
""""""""""""""""""""""""""""""
"Bundle 'https://github.com/bling/vim-airline'
"call s:Configuration('airline.vim')

""""""""""""""""""""""""""""""
" => colorscheme
""""""""""""""""""""""""""""""
Bundle 'https://github.com/xolox/vim-misc.git'
Bundle 'https://github.com/vim-scripts/vim-colorscheme-switcher.git'
Bundle 'flazz/vim-colorschemes'

"Bundle 'https://github.com/vim-scripts/taglist.vim.git'

""""""""""""""""""""""""""""""
" => TagBar 
""""""""""""""""""""""""""""""
"Bundle 'https://github.com/majutsushi/tagbar.git'
"call s:Configuration('tagbar_config.vim')

"() {}
Bundle 'https://github.com/Raimondi/delimitMate.git'
"Bundle 'https://github.com/Townk/vim-autoclose'


""""""""""""""""""""""""""""""
" => Ycm Configuration
""""""""""""""""""""""""""""""
"Bundle 'http://git.oschina.net/gfcocos/ycm.git'
"call s:Configuration('ycm.vim')

""""""""""""""""""""""""""""""
" => neocomplcache 
""""""""""""""""""""""""""""""
Bundle 'https://github.com/Shougo/neocomplcache.vim'
call s:Configuration('neocomplcacherc.vim')


Bundle 'https://github.com/davidhalter/jedi-vim.git'

""""""""""""""""""""""""""""""
" => snipmate complete 
""""""""""""""""""""""""""""""
Bundle 'https://git.oschina.net/gfcocos/vim-snippets.git'
"Bundle 'https://github.com/garbas/vim-snipmate.git'
""""""""""""""""""""""""""""""
" => neosnippet
""""""""""""""""""""""""""""""
Bundle 'https://github.com/Shougo/neosnippet.vim'
Bundle 'https://github.com/Shougo/neosnippet-snippets'
call s:Configuration('neosnippetrc.vim')
""""""""""""""""""""""""""""""
" => snipmate
""""""""""""""""""""""""""""""
"  Bundle 'https://github.com/tomtom/tlib_vim.git'
"  Bundle 'https://github.com/MarcWeber/vim-addon-mw-utils.git'
""""""""""""""""""""""""""""""
" => Ulti Configuration
""""""""""""""""""""""""""""""
Bundle 'https://github.com/SirVer/ultisnips.git'
call s:Configuration('ultsnipsrc.vim')

" lua-support 
Bundle 'https://git.oschina.net/gfcocos/lua-support.git'
"  Bundle 'https://github.com/vim-scripts/lua.vim.git'
"  Bundle 'https://github.com/xolox/vim-lua-inspect.git'
"  Bundle 'https://github.com/rkowal/Lua-Omni-Vim-Completion.git'


" vim-multiedit 
" Bundle 'https://github.com/hlissner/vim-multiedit'
" call s:Configuration('multiedit.vim')

" vim-multiple-cursors
Bundle 'https://github.com/terryma/vim-multiple-cursors'
call s:Configuration('multiplecursorrc.vim')

" buffer explorer
"Bundle 'https://github.com/fholgado/minibufexpl.vim.git'

"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => BufferLine
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
"Bundle 'https://github.com/bling/vim-bufferline'
"call s:Configuration('bufferline.vim')

""""""""""""""""""""""""""""""
" => wildignore Configuration
""""""""""""""""""""""""""""""
call s:Configuration('wildignorerc.vim')

""""""""""""""""""""""""""""""
" => wildignore Configuration
""""""""""""""""""""""""""""""
Bundle 'https://github.com/vim-scripts/YankRing.vim.git'
call s:Configuration('yankringrc.vim')

"Bundle 'https://github.com/jeetsukumaran/vim-buffergator.git'

""""""""""""""""""""""""""""""
" => syntastic Configuration
""""""""""""""""""""""""""""""
Bundle 'https://github.com/scrooloose/syntastic.git'


"Bundle 'https://github.com/fholgado/minibufexpl.vim.git'
"call s:Configuration('syntasticrc.vim')


"Bundle 'https://github.com/Shougo/unite.vim.git'
"call s:Configuration('uniterc.vim')


"{{{
"Requirement:
"- |unite.vim| (Recommend latest version at https://github.com/Shougo/unite.vim)
"Note: Using tag/include source (Either one)
"- |neocomplcache|(Recommend latest version at https://github.com/Shougo/neocomplcache)
"- |neocomplete|(Recommend latest version at https://github.com/Shougo/neocomplete)
"}}}
"Bundle 'https://github.com/tsukkee/unite-tag'
"Bundle 'https://github.com/Shougo/unite-outline'
"Bundle 'https://github.com/osyo-manga/unite-quickfix'

"Bundle 'https://github.com/mileszs/ack.vim.git'
"Bundle 'https://github.com/Shougo/vimproc.vim.git'


Bundle 'https://github.com/nathanaelkane/vim-indent-guides.git'
call s:Configuration('indentguidesrc.vim')

Bundle 'https://git.oschina.net/gfcocos/fuzzysnippet.git'

Bundle 'https://github.com/rkowal/Lua-Omni-Vim-Completion.git'

filetype plugin indent on     " required!
"
" Brief help
" :BundleList          - list configured bundles
" :BundleInstall(!)    - install(update) bundles
" :BundleSearch(!) foo - search(or refresh cache first) for foo
" :BundleClean(!)      - confirm(or auto-approve) removal of unused bundles
"
" see :h vundle for more details or wiki for FAQ
" NOTE: comments after Bundle command are not allowed..
